package com.ruoyi.coffee.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author dxj
 * @Description 购物车信息展示Vo
 * @date 2025/2/10 21:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "产品信息展示Vo")
public class ShopCartsVo {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("购物车id")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    /**
     * 商品id
     */
    @ApiModelProperty("用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long productId;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    private String productName;

    /**
     * 商品图片
     */
    @ApiModelProperty("商品图片")
    private String productImages;


    /**
     * 商品价格
     */
    @ApiModelProperty("商品价格")
    private String price;


    /**
     * 商品数量
     */
    @ApiModelProperty("商品数量")
    private Long quantity;

    /**
     * 咖啡类型
     */
    @Excel(name = "咖啡类型")
    private String coffeeType;

    /**
     * 温度
     */
    @Excel(name = "温度")
    private String temperature;

}
